package org.example.rubbish.entity;

import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;


public class VehicleGps {
    private Long id;
    private String plateNumber;
    private BigDecimal longitude;
    private BigDecimal latitude;
    private BigDecimal speed;
    private BigDecimal direction;
    private Date updateTime;

    public VehicleGps() {
    }

    public VehicleGps(Long id, String plateNumber, BigDecimal longitude, BigDecimal latitude, BigDecimal speed, BigDecimal direction, Date updateTime) {
        this.id = id;
        this.plateNumber = plateNumber;
        this.longitude = longitude;
        this.latitude = latitude;
        this.speed = speed;
        this.direction = direction;
        this.updateTime = updateTime;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPlateNumber() {
        return plateNumber;
    }

    public void setPlateNumber(String plateNumber) {
        this.plateNumber = plateNumber;
    }

    public BigDecimal getLongitude() {
        return longitude;
    }

    public void setLongitude(BigDecimal longitude) {
        this.longitude = longitude;
    }

    public BigDecimal getLatitude() {
        return latitude;
    }

    public void setLatitude(BigDecimal latitude) {
        this.latitude = latitude;
    }

    public BigDecimal getSpeed() {
        return speed;
    }

    public void setSpeed(BigDecimal speed) {
        this.speed = speed;
    }

    public BigDecimal getDirection() {
        return direction;
    }

    public void setDirection(BigDecimal direction) {
        this.direction = direction;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}